package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "ForecastVO", description = "预警")
public class ForecastVO {

    @ApiModelProperty(value = "id主键")
    private Long id;

    @ApiModelProperty(value = "站点id")
    private Long stationId;

    @ApiModelProperty(value = "站点名称")
    private String stationName;

    @ApiModelProperty(value = "站点经度")
    private Float stationLon;

    @ApiModelProperty(value = "站点纬度")
    private Float stationLat;

    @ApiModelProperty(value = "监控事件(1-泵堵)")
    private Integer monitorType;

    @ApiModelProperty(value = "预警等级(1-低 2-中 3-高)")
    private Integer forecastGrade;

    @ApiModelProperty(value = "预警信息")
    private String forecastInfo;

    @ApiModelProperty(value = "预测开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "责任人名字")
    private String dutyUserNames;

    @ApiModelProperty(value = "处理状态，目前用于web列表(1-未处理 2-已完成)")
    private Integer handleStatus;
}